<template>
  <span>{{ text[row.coupon_type] }}</span>
</template>

<script>
export default {
  name: 'CouponType',
  props: {
    row: {
      type: Object,
      default: _ => {
        return {};
      }
    }
  },
  data() {
    return {
      text: {
        1: '优惠券',
        2: '打折卡'
      }
    };
  }
};
</script>

<style></style>
